Optimal. Leaf size=223 \[ -\frac {b^2}{(b d-a e)^3 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {e (a+b x)}{2 (b d-a e)^2 (d+e x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {2 b e (a+b x)}{(b d-a e)^3 (d+e x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {3 b^2 e (a+b x) \log (a+b x)}{(b d-a e)^4 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {3 b^2 e (a+b x) \log (d+e x)}{(b d-a e)^4 \sqrt {a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 223, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {784, 21, 46}
\begin {gather*} -\frac {b^2}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^3}-\frac {2 b e (a+b x)}{\sqrt {a^2+2 a b x+b^2 x^2} (d+e x) (b d-a e)^3}-\frac {e (a+b x)}{2 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^2 (b d-a e)^2}-\frac {3 b^2 e (a+b x) \log (a+b x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^4}+\frac {3 b^2 e (a+b x) \log (d+e x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 46
Rule 784
Rubi steps
\begin {align*} \int \frac {a+b x}{(d+e x)^3 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=\frac {\left (b^2 \left (a b+b^2 x\right )\right ) \int \frac {a+b x}{\left (a b+b^2 x\right )^3 (d+e x)^3} \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {\left (a b+b^2 x\right ) \int \frac {1}{(a+b x)^2 (d+e x)^3} \, dx}{b \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {\left (a b+b^2 x\right ) \int \left (\frac {b^3}{(b d-a e)^3 (a+b x)^2}-\frac {3 b^3 e}{(b d-a e)^4 (a+b x)}+\frac {e^2}{(b d-a e)^2 (d+e x)^3}+\frac {2 b e^2}{(b d-a e)^3 (d+e x)^2}+\frac {3 b^2 e^2}{(b d-a e)^4 (d+e x)}\right ) \, dx}{b \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {b^2}{(b d-a e)^3 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {e (a+b x)}{2 (b d-a e)^2 (d+e x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {2 b e (a+b x)}{(b d-a e)^3 (d+e x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {3 b^2 e (a+b x) \log (a+b x)}{(b d-a e)^4 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {3 b^2 e (a+b x) \log (d+e x)}{(b d-a e)^4 \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 135, normalized size = 0.61 \begin {gather*} \frac {-\left ((b d-a e) \left (-a^2 e^2+a b e (5 d+3 e x)+b^2 \left (2 d^2+9 d e x+6 e^2 x^2\right )\right )\right )-6 b^2 e (a+b x) (d+e x)^2 \log (a+b x)+6 b^2 e (a+b x) (d+e x)^2 \log (d+e x)}{2 (b d-a e)^4 \sqrt {(a+b x)^2} (d+e x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 331, normalized size = 1.48
method | result | size |
default | \(-\frac {\left (6 \ln \left (b x +a \right ) b^{3} e^{3} x^{3}-6 \ln \left (e x +d \right ) b^{3} e^{3} x^{3}+6 \ln \left (b x +a \right ) a \,b^{2} e^{3} x^{2}+12 \ln \left (b x +a \right ) b^{3} d \,e^{2} x^{2}-6 \ln \left (e x +d \right ) a \,b^{2} e^{3} x^{2}-12 \ln \left (e x +d \right ) b^{3} d \,e^{2} x^{2}+12 \ln \left (b x +a \right ) a \,b^{2} d \,e^{2} x +6 \ln \left (b x +a \right ) b^{3} d^{2} e x -12 \ln \left (e x +d \right ) a \,b^{2} d \,e^{2} x -6 \ln \left (e x +d \right ) b^{3} d^{2} e x -6 a \,b^{2} e^{3} x^{2}+6 b^{3} d \,e^{2} x^{2}+6 \ln \left (b x +a \right ) a \,b^{2} d^{2} e -6 \ln \left (e x +d \right ) a \,b^{2} d^{2} e -3 a^{2} b \,e^{3} x -6 a \,b^{2} d \,e^{2} x +9 b^{3} d^{2} e x +a^{3} e^{3}-6 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e +2 b^{3} d^{3}\right ) \left (b x +a \right )^{2}}{2 \left (e x +d \right )^{2} \left (a e -b d \right )^{4} \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}\) | \(331\) |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (\frac {3 b^{2} e^{2} x^{2}}{a^{3} e^{3}-3 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e -b^{3} d^{3}}+\frac {3 \left (a e +3 b d \right ) b e x}{2 \left (a^{3} e^{3}-3 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e -b^{3} d^{3}\right )}-\frac {a^{2} e^{2}-5 a b d e -2 b^{2} d^{2}}{2 \left (a^{3} e^{3}-3 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e -b^{3} d^{3}\right )}\right )}{\left (b x +a \right )^{2} \left (e x +d \right )^{2}}-\frac {3 \sqrt {\left (b x +a \right )^{2}}\, b^{2} e \ln \left (b x +a \right )}{\left (b x +a \right ) \left (a^{4} e^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}+\frac {3 \sqrt {\left (b x +a \right )^{2}}\, b^{2} e \ln \left (-e x -d \right )}{\left (b x +a \right ) \left (a^{4} e^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}\) | \(350\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 479 vs.
\(2 (178) = 356\).
time = 2.45, size = 479, normalized size = 2.15 \begin {gather*} -\frac {2 \, b^{3} d^{3} - {\left (6 \, a b^{2} x^{2} + 3 \, a^{2} b x - a^{3}\right )} e^{3} + 6 \, {\left (b^{3} d x^{2} - a b^{2} d x - a^{2} b d\right )} e^{2} + 3 \, {\left (3 \, b^{3} d^{2} x + a b^{2} d^{2}\right )} e + 6 \, {\left ({\left (b^{3} x^{3} + a b^{2} x^{2}\right )} e^{3} + 2 \, {\left (b^{3} d x^{2} + a b^{2} d x\right )} e^{2} + {\left (b^{3} d^{2} x + a b^{2} d^{2}\right )} e\right )} \log \left (b x + a\right ) - 6 \, {\left ({\left (b^{3} x^{3} + a b^{2} x^{2}\right )} e^{3} + 2 \, {\left (b^{3} d x^{2} + a b^{2} d x\right )} e^{2} + {\left (b^{3} d^{2} x + a b^{2} d^{2}\right )} e\right )} \log \left (x e + d\right )}{2 \, {\left (b^{5} d^{6} x + a b^{4} d^{6} + {\left (a^{4} b x^{3} + a^{5} x^{2}\right )} e^{6} - 2 \, {\left (2 \, a^{3} b^{2} d x^{3} + a^{4} b d x^{2} - a^{5} d x\right )} e^{5} + {\left (6 \, a^{2} b^{3} d^{2} x^{3} - 2 \, a^{3} b^{2} d^{2} x^{2} - 7 \, a^{4} b d^{2} x + a^{5} d^{2}\right )} e^{4} - 4 \, {\left (a b^{4} d^{3} x^{3} - 2 \, a^{2} b^{3} d^{3} x^{2} - 2 \, a^{3} b^{2} d^{3} x + a^{4} b d^{3}\right )} e^{3} + {\left (b^{5} d^{4} x^{3} - 7 \, a b^{4} d^{4} x^{2} - 2 \, a^{2} b^{3} d^{4} x + 6 \, a^{3} b^{2} d^{4}\right )} e^{2} + 2 \, {\left (b^{5} d^{5} x^{2} - a b^{4} d^{5} x - 2 \, a^{2} b^{3} d^{5}\right )} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b x}{\left (d + e x\right )^{3} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.37, size = 316, normalized size = 1.42 \begin {gather*} -\frac {3 \, b^{3} e \log \left ({\left | b x + a \right |}\right )}{b^{5} d^{4} \mathrm {sgn}\left (b x + a\right ) - 4 \, a b^{4} d^{3} e \mathrm {sgn}\left (b x + a\right ) + 6 \, a^{2} b^{3} d^{2} e^{2} \mathrm {sgn}\left (b x + a\right ) - 4 \, a^{3} b^{2} d e^{3} \mathrm {sgn}\left (b x + a\right ) + a^{4} b e^{4} \mathrm {sgn}\left (b x + a\right )} + \frac {3 \, b^{2} e^{2} \log \left ({\left | x e + d \right |}\right )}{b^{4} d^{4} e \mathrm {sgn}\left (b x + a\right ) - 4 \, a b^{3} d^{3} e^{2} \mathrm {sgn}\left (b x + a\right ) + 6 \, a^{2} b^{2} d^{2} e^{3} \mathrm {sgn}\left (b x + a\right ) - 4 \, a^{3} b d e^{4} \mathrm {sgn}\left (b x + a\right ) + a^{4} e^{5} \mathrm {sgn}\left (b x + a\right )} - \frac {2 \, b^{3} d^{3} + 3 \, a b^{2} d^{2} e - 6 \, a^{2} b d e^{2} + a^{3} e^{3} + 6 \, {\left (b^{3} d e^{2} - a b^{2} e^{3}\right )} x^{2} + 3 \, {\left (3 \, b^{3} d^{2} e - 2 \, a b^{2} d e^{2} - a^{2} b e^{3}\right )} x}{2 \, {\left (b d - a e\right )}^{4} {\left (b x + a\right )} {\left (x e + d\right )}^{2} \mathrm {sgn}\left (b x + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,x}{{\left (d+e\,x\right )}^3\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________